﻿<%@ Page Language="C#" MasterPageFile="~/Manager/Admin/Admin.master" AutoEventWireup="true" CodeFile="ContractHolders.aspx.cs" Inherits="Manager_Admin_ContractHolders" Title="Untitled Page" %>
<%@ Register TagPrefix="CC" Src="~/Manager/Lib/Controls/ContractHolder/ContractConditions_APRByModelAge.ascx" TagName="ContractConditions_APRByModelAge" %>
<%@ Register TagPrefix="CC" Src="~/Manager/Lib/Controls/ContractHolder/ContractConditions_PTIByGrossIncome.ascx" TagName="ContractConditions_PTIByGrossIncome" %>
<%@ Register TagPrefix="CC" Src="~/Manager/Lib/Controls/ContractHolder/ContractConditions_AdvanceByDealerType.ascx" TagName="ContractConditions_AdvanceByDealerType" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AC" Runat="Server">
<UI:ContractHolders FilterDefault="ID>0" id="ContractHolder" runat="server" />

<asp:FormView ID="rptCH" DataSourceID="dsContractHolder" runat="server">
<ItemTemplate>
	<asp:FormView ID="rptCC" DataSourceID="dsContractCondition" runat="server">
		<ItemTemplate>
			<UI:ContractConditions ID="ContractCondition" ContractConditionCode='<%#Eval("ContractConditionCode")%>'  runat="server"
														 OnRowSelected="ContractConditions_RowSelected" />
			<table>
			<tr VAlign="top">
				<td><CC:ContractConditions_APRByModelAge FilterDefault="1=0" ContractConditionCode='<%#Eval("ContractConditionCode")%>' runat="server" ShowSearch="false" /></td>
				<td><CC:ContractConditions_PTIByGrossIncome FilterDefault="1=0" ContractConditionCode='<%#Eval("ContractConditionCode")%>' runat="server" ShowSearch="false" /></td>
				<td><CC:ContractConditions_AdvanceByDealerType FilterDefault="1=0" ContractConditionCode='<%#Eval("ContractConditionCode")%>' runat="server" ShowSearch="false" /></td>
			</tr>
			</table>
			
		</ItemTemplate>
	</asp:FormView>
	<DS:ContractConditionCodeDataSource ID="dsContractCondition" ContractConditionCode='<%#Eval("ConditionsCode")%>' runat="server" />
</ItemTemplate>
</asp:FormView>
<DS:ContractHoldersDataSource ContractHolderID="-1" ID="dsContractHolder" runat="server" />
<br />
<UI:ContractInterestBasis runat="server" EmptyRowPolicy="OnlyIfEmpty" />
<div style="margin-bottom:5px">
<UI:ContractPaymentType runat="server" EmptyRowPolicy="OnlyIfEmpty" />
<div style="margin-bottom:5px">
<UI:CarBookTypes runat="server" EmptyRowPolicy="OnlyIfEmpty" />
<div style="margin-bottom:5px">
<UI:TrackerTypes runat="server" EmptyRowPolicy="OnlyIfEmpty" />
<div style="margin-bottom:5px">
<UI:TrackingDeviceProvider runat="server" EmptyRowPolicy="OnlyIfEmpty" />
<div style="margin-bottom:5px">
<UI:CarTypes runat="server" EmptyRowPolicy="OnlyIfEmpty" />
<div style="margin-bottom:5px">
<UI:ImageTypes runat="server" EmptyRowPolicy="OnlyIfEmpty" />
</asp:Content>

